<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .service {
            width: 1300px;
            height: 100px;
            margin: 50px auto;
            display: flex;
            /* background-color: yellow; */

        }
        .service ul {
            display: flex;

        }
        .service li {
            display: flex;
            width: 300px;
            height: 115px;
            padding-left: 20px;
        }
        .service li h4 {
            height: 120px;
            width: 115px;
            background: url(./abcd.jpg) 0 0;
        }
        .service li:nth-child(2) h4 {
            background-position: -109px -11px;
        }
        .service li:nth-child(3) h4 {
            background-position: -231px -9px;
        }
        .service li:nth-child(4) h4 {
            background-position: -349px -8px;
        }
        .service li p{
            font-size: 20px;
            color: aquamarine;
            font-weight: 500;
            line-height: 120px;
            margin-left: 10px;
        }
    </style>
</head>
<body>
    <div class="service">    
        <ul>
            <li>
                <h4></h4>
                <p>字母</p>
            </li>
            <li>
                <h4></h4>
                <p>字母</p>
            </li>
            <li>
                <h4></h4>
                <p>字母</p>
            </li>
            <li>
                <h4></h4>
                <p>字母</p>
            </li>
        </ul>
    </div>
</body>
</html>
